import request from '@/utils/request'

export const findDetailByJobMo = (jobCode) => {
	return request({
		url: '/development/v9/planJob/findDetailByJobMo',
		method: 'get',
		params: {
			jobCode
		}
	})
}


export const abnormalListByJobCode = (jobCode) => {
	return request({
		url: '/development/v9/planJob/abnormalListByJobCode',
		method: 'get',
		params: {
			jobCode
		}
	})
}

export const getPhoto = (dataId,uploader,Authorization) => {
  return request({
    url: '/fileSystem/v9/fileManager/list?dataId='+dataId+'&uploader='+uploader+'&Authorization='+Authorization+'&fileState=0',
    method: 'get'
  })
}


export const deleteFile = (id) => {
  return request({
    url: '/fileSystem/v9/fileManager/remove?ids='+id,
    method: 'delete'
  })
}
